package com.amazon.ags.jni.whispersync;

import com.amazon.ags.api.ErrorCode;
import com.amazon.ags.api.whispersync.SynchronizeBlobCallback;

public class SynchronizeBlobJniCallback
  implements SynchronizeBlobCallback
{
  private static final String TAG = SynchronizeBlobJniCallback.class.getSimpleName();
  protected long m_CallbackPointer;
  protected int m_DeveloperTag;

  public SynchronizeBlobJniCallback(int paramInt, long paramLong)
  {
    this.m_DeveloperTag = paramInt;
    this.m_CallbackPointer = paramLong;
  }

  public void onAlreadySynchronized()
  {
    WhisperSyncJni.getSynchronizeBlobAlreadySynchronized(this.m_CallbackPointer, this.m_DeveloperTag);
  }

  public void onConflictDeferral()
  {
    WhisperSyncJni.getSynchronizeBlobConflictDeferral(this.m_CallbackPointer, this.m_DeveloperTag);
  }

  public void onGameUploadSuccess()
  {
    WhisperSyncJni.getSynchronizeBlobGameUploadSuccess(this.m_CallbackPointer, this.m_DeveloperTag);
  }

  public boolean onNewGameData(byte[] paramArrayOfByte)
  {
    return WhisperSyncJni.getSynchronizeBlobResponseNewGameData(paramArrayOfByte, this.m_CallbackPointer, this.m_DeveloperTag);
  }

  public void onSynchronizeFailure(ErrorCode paramErrorCode)
  {
    WhisperSyncJni.getSynchronizeBlobSynchronizeFailure(this.m_CallbackPointer, paramErrorCode.ordinal(), this.m_DeveloperTag);
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.jni.whispersync.SynchronizeBlobJniCallback
 * JD-Core Version:    0.6.2
 */